
#ifndef __UTILITIES_H__
#define __UTILITIES_H__

#include "Ogre.h"

using namespace Ogre;

#define fori(X) for(uint i = 0; i < X; ++i)
#define forj(X) for(uint j = 0; j < X; ++j)

#define max(a,b) (((a) > (b)) ? (a) : (b))
#define min(a,b) (((a) < (b)) ? (a) : (b))

#define Delete(X) if(X) { delete X; X = 0; }

#endif